import { chain } from "lodash-es"

const menu = [
    {
        "path": "/dashboard",
        "component": null,
        "meta": {
            "title": "系统公共",
            "icon": "AppstoreOutlined",
            "hide": false
        },
        "children": [
            {
                "path": "/dashboard/workplace",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "常用功能",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                "children": [
                    {
                        "path": "/dashboard/workplace/home",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "特殊符号",
                            "icon": "DesktopOutlined",
                            "hide": false                           
                        }
                    },
                    {
                        "path": "/dashboard/workplace/analysis",
                        "component": "/dashboard/analysis",
                        "meta": {
                            "title": "计算器",
                            "icon": "AnalysisOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/dashboard/workplace/password",
                        "component": "/dashboard/analysis",
                        "meta": {
                            "title": "通讯录",
                            "icon": "AnalysisOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/dashboard/workplace/log",
                        "component": "/dashboard/analysis",
                        "meta": {
                            "title": "通知公告",
                            "icon": "AnalysisOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/dashboard/workplace/lockscreen",
                        "component": "/dashboard/analysis",
                        "meta": {
                            "title": "pdf编辑",
                            "icon": "AnalysisOutlined",
                            "hide": false
                        }
                    }
                ]
            },
            {
                "path": "/dashboard/help",
                "component": "/dashboard/help",
                "meta": {
                    "title": "帮助级注册",
                    "icon": "QuestionCircleOutlined",
                    "hide": false
                },
                "children": [
                    {
                        "path": "/dashboard/help/help",
                        "component": "/dashboard/help/help",
                        "meta": {
                            "title": "程序帮助",
                            "icon": "DesktopOutlined",
                            "hide": false                           
                        }
                    },
                    {
                        "path": "/dashboard/help/software",
                        "component": "/dashboard/help/software",
                        "meta": {
                            "title": "关于软件",
                            "icon": "AnalysisOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/dashboard/help/website",
                        "component": "/dashboard/help/website",
                        "meta": {
                            "title": "官方网站",
                            "icon": "AnalysisOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/dashboard/help/feedback",
                        "component": "/dashboard/help/feedback",
                        "meta": {
                            "title": "问题反馈",
                            "icon": "AnalysisOutlined",
                            "hide": false
                        }
                    }
                ]
            }
        ]
    },
    {
        "path": "/entrusted",
        "component": null,
        "meta": {
            "title": "委托管理",
            "icon": "LogOutlined",
            "hide": false
        },
        "redirect": "/entrusted/management",
        "children": [
            {
                "path": "/entrusted/management",
                "component": "/dashboard/management",
                "meta": {
                    "title": "委托管理",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                "children": [
                    {
                        "path": "/entrusted/management/add",
                        "component": "/entrusted/management/add",
                        "meta": {
                            "title": "委托登记",
                            "icon": "DesktopOutlined",
                            "hide": false                           
                        }
                    },
                    {
                        "path": "/entrusted/management/edit",
                        "component": "/entrusted/management/add",
                        "meta": {
                            "title": "委托修改",
                            "icon": "DesktopOutlined",
                            "hide": false                           
                        }
                    },
                    {
                        "path": "/entrusted/management/query",
                        "component": "/entrusted/management/add",
                        "meta": {
                            "title": "委托查询",
                            "icon": "DesktopOutlined",
                            "hide": false                           
                        }
                    },
                    {
                        "path": "/entrusted/management/check",
                        "component": "/entrusted/management/add",
                        "meta": {
                            "title": "委托验样",
                            "icon": "DesktopOutlined",
                            "hide": false                           
                        }
                    },
                    {
                        "path": "/entrusted/management/notice",
                        "component": "/entrusted/management/add",
                        "meta": {
                            "title": "任务通知单",
                            "icon": "DesktopOutlined",
                            "hide": false                           
                        }
                    }
                ]
            },
            {
                "path": "/entrusted/contractEngineering",
                "component": "/dashboard/management",
                "meta": {
                    "title": "工程信息管理",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                "children": [
                    {
                        "path": "/entrusted/contractEngineering/contract",
                        "component": "/entrusted/contractEngineering/contract",
                        "meta": {
                            "title": "合同管理",
                            "icon": "DesktopOutlined",
                            "hide": false                           
                        }
                    },
                    {
                        "path": "/entrusted/contractEngineering/project",
                        "component":  "/entrusted/contractEngineering/project",
                        "meta": {
                            "title": "工程管理",
                            "icon": "DesktopOutlined",
                            "hide": false                           
                        }
                    },
                    {
                        "path": "/entrusted/contractEngineering/unit",
                        "component": "/entrusted/contractEngineering/unit",
                        "meta": {
                            "title": "单位管理",
                            "icon": "DesktopOutlined",
                            "hide": false                           
                        }
                    },
                    {
                        "path": "/entrusted/contractEngineering/personnel",
                        "component": "/entrusted/contractEngineering/personnel",
                        "meta": {
                            "title": "人员管理",
                            "icon": "DesktopOutlined",
                            "hide": false                           
                        }
                    }
                ]
            }
        ]
    },
    {
        "path": "/sample",
        "component": null,
        "meta": {
            "title": "样品管理",
            "icon": "BookOutlined",
            "hide": false
        },
        "children": [
            {
                "path": "/sample/circulation",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "样品流转",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                "children": [
                    {
                        "path": "/sample/circulation/outbound",
                        "component": "/sample/circulation/outbound",
                        "meta": {
                            "title": "样品出库",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/sample/circulation/inbound",
                        "component": "/sample/circulation/inbound",
                        "meta": {
                            "title": "样品入库",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/sample/circulation/return",
                        "component": "/sample/circulation/return",
                        "meta": {
                            "title": "样品退库",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/sample/circulation/copy",
                        "component": "/sample/circulation/copy",
                        "meta": {
                            "title": "样品留样",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/sample/circulation/clear",
                        "component": "/sample/circulation/clear",
                        "meta": {
                            "title": "样品清除",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/sample/circulation/outboundCopy",
                        "component": "/sample/circulation/outboundCopy",
                        "meta": {
                            "title": "领样出库",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    }
                ]
            },
            {
                "path": "/sample/circulationlog",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "样品流转记录",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                "children": [
                    {
                        "path": "/sample/circulationlog/inbound",
                        "component": "/sample/circulationlog/inbound",
                        "meta": {
                            "title": "入库记录",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/sample/circulationlog/outbound",
                        "component": "/sample/circulationlog/outbound",
                        "meta": {
                            "title": "出库记录",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/sample/circulationlog/copy",
                        "component": "/sample/circulationlog/copy",
                        "meta": {
                            "title": "留样记录",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/sample/circulationlog/outboundCopy",
                        "component": "/sample/circulationlog/outboundCopy",
                        "meta": {
                            "title": "领样记录",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/sample/circulationlog/circulation",
                        "component": "/sample/circulationlog/circulation",
                        "meta": {
                            "title": "流转记录",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },                    
                    {
                        "path": "/sample/circulationlog/clear",
                        "component": "/sample/circulationlog/clear",
                        "meta": {
                            "title": "样品清除记录",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    }
                    
                ]
            }
        ]
    },
    {
        "path": "/trial",
        "component": null,
        "meta": {
            "title": "实验管理",
            "icon": "DashboardOutlined",
            "hide": false
        },
        "children": [
            {
                "path": "/trial/data",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "实验数据管理",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                "children": [
                    {
                        "path": "/trial/data/import",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "数据导入",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/trial/data/edit",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "数据修改",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/trial/data/search",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "数据查询",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    }
                ]
            },
            {
                "path": "/trial/template",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "实验模板管理",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                "children": [
                    {
                        "path": "/trial/template/base",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "基础模板管理",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/trial/template/word",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "word模板管理",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/trial/template/excel",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "excel模板管理",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/trial/template/sample",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "样品模板管理",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    }
                ]
            },
            {
                "path": "/trial/test",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "试件试压",
                    "icon": "DesktopOutlined",
                    "hide": false
                }
            }
        ]
    },
    {
        "path": "/report",
        "component": null,
        "meta": {
            "title": "报告管理",
            "icon": "FileOutlined",
            "hide": false
        },
        "children": [
            {
                "path": "/report/approve",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "报告审批",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                children: [
                    {
                        "path": "/report/approve/examine",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "报告审核",
                            "icon": "DesktopOutlined",
                            "hide": false
                        },
                    },
                    {
                        "path": "/report/approve/approve",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "报告批准",
                            "icon": "DesktopOutlined",
                            "hide": false
                        },
                    }
                ]

            },
            {
                "path": "/report/print",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "报告印发",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                children: [
                    {
                        "path": "/report/print/print",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "报告印发",
                            "icon": "DesktopOutlined",
                            "hide": false
                        },
                    },
                    {
                        "path": "/report/print/archives",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "报告存档",
                            "icon": "DesktopOutlined",
                            "hide": false
                        },
                    },
                    {
                        "path": "/report/print/record",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "报告档案",
                            "icon": "DesktopOutlined",
                            "hide": false
                        },
                    },
                    {
                        "path": "/report/print/upload",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "报告上传",
                            "icon": "DesktopOutlined",
                            "hide": false
                        },
                    }
                ]
            },
            {
                "path": "/report/outtime",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "超期报告查询",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                children: [
                    {
                        "path": "/report/outtime/query",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "报告承诺查询",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/report/outtime/handle",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "超期报告处理",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    }
                ]

            },
            {
                "path": "/report/signature",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "报告电子签章",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                children: [
                    {
                        "path": "/report/signature/record",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "电子签章记录",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/report/signature/seal",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "电子印章管理",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    }
                ]
            }
        ]
    },
    {
        "path": "/archive",
        "component": null,
        "meta": {
            "title": "报告存档",
            "icon": "FolderOutlined",
            "hide": false
        },
        "children": [
            {
                "path": "/archive/manage",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "存档管理",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                children: [
                    {
                        "path": "/archive/manage/box",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "报告存盒",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/archive/manage/cabinet",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "档案盒存柜",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/archive/manage/scrap",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "报废",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    }              
                ]

            },
            {
                "path": "/archive/borrowReturn",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "借还管理",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                children: [
                    {
                        "path": "/archive/borrowReturn/borrow",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "档案借阅",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/archive/borrowReturn/approve",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "借阅审核",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    }
                ]

            },
            {
                "path": "/archive/query",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "存档查询",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                children: [
                    {
                        "path": "/archive/query/record",

                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "存档记录",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/archive/query/borrowReturn",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "借还记录",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    }
                ]

            },
            {
                "path": "/archive/base",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "基础管理",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                children: [
                    {
                        "path": "/archive/base/filingBox",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "档案盒管理",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/archive/base/filingCabinet",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "文件柜管理",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    }
                ]
            }
        ]
    },
    {
        "path": "/statistics",
        "component": null,
        "meta": {
            "title": "查询统计",
            "icon": "Histogram",
            "hide": false
        },
        "children": [
            {
                "path": "/statistics/reportQruery",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "报告查询",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                children: [
                    {
                        "path": "/statistics/reportQruery/query",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "报告查询",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/statistics/reportQruery/unqualifiedReport",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "不合格报告",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/statistics/reportQruery/modifyRecord",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "修改记录查询",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/statistics/reportQruery/expiredSample",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "试块到期查询",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    }
                ]

            },
            {
                "path": "/statistics/reportStatistics",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "报告统计",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                children: [
                    {
                        "path": "/statistics/reportStatistics/statistics",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "报告台账统计",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/statistics/reportStatistics/workStatistics",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "工作情况统计",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    }
                ]

            },
            {
                "path": "/statistics/uploadError",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "上传错误查询",
                    "icon": "DesktopOutlined",
                    "hide": false
                }
            }
        ]
    },
    {
        "path": "/deviceEnvironment",
        "component": null,
        "meta": {
            "title": "设备环境管理",
            "icon": "DatabaseOutlined",
            "hide": false
        },
        "children": [
            {
                "path": "/equipmentEnvironment/experimentalEquipment",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "实验设备管理",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                children: [
                    {
                        "path": "/equipmentEnvironment/experimentalEquipment/equipmentLedger",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "设备台账",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/equipmentEnvironment/experimentalEquipment/setting",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "采集设备配置",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/equipmentEnvironment/experimentalEquipment/useRecord",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "设备使用记录",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/equipmentEnvironment/experimentalEquipment/equipmentCalibration",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "设备鉴定",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    }
                ]
            },
            {
                
                "path": "/equipmentEnvironment/environmental",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "环境管理",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                children:[
                    {
                        "path": "/equipmentEnvironment/environmental/placeManagement",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "检测地点管理",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/equipmentEnvironment/environmental/equipmentManagement",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "环境设备管理",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/equipmentEnvironment/environmental/query",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "环境数据查询",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    }
                ]
            }
        ]
    },
    {
        "path": "/charge",
        "component": null,
        "meta": {
            "title": "收费管理",
            "icon": "IdcardOutlined",
            "hide": false
        },
        "children": [
            {
                "path": "/charge/management",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "收费管理",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                children: [
                    {
                        "path": "/charge/management/experiment",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "实验收费",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/charge/management/other",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "其他收费",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/charge/management/audit",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "收费审核",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/charge/management/cancel",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "撤单审核",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/charge/management/reportCollection",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "报告领取",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    }
                ]

            },
            {
                "path": "/charge/query",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "收费查询",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                children: [
                    {
                        "path": "/charge/query/experimentRecord",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "实验明细查询",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/charge/query/incomeInformation",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "收入信息查询",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/charge/query/detectionStatistics",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "检测工作统计",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/charge/query/costStatistics",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "费用统计明细",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    }
                ]

            },
            {
                "path": "/charge/contractManagement",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "合同管理",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                children: [
                    {
                        "path": "/charge/contractManagement/contractManagement",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "合同管理",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/charge/contractManagement/otherCharge",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "其他费用",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/charge/contractManagement/outsourced",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "委外收费",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    }
                ]
            },
            {
                "path": "/charge/baseData",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "基础数据",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                children: [
                    {
                        "path": "/charge/baseData/experimentalPriceManagement",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "实验价格管理",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/charge/baseData/experimentalPricingModel",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "实验价格模式",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/charge/baseData/unitMeasurement",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "计量单位管理",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/charge/baseData/additionalFeeSetting",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "附加费设定",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    }
                ]

            },
            {
                "path": "/charge/systemSetting",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "系统设定",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                children: [
                    {
                        "path": "/charge/systemSetting/chargeDictionary",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "收费词典",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/charge/systemSetting/parameterSetting",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "参数设定",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    }
                ]
            }
        ]
    },
    {
        "path": "/user",
        "component": null,
        "meta": {
            "title": "用户管理",
            "icon": "UserOutlined",
            "hide": false
        },
        "children": [
            {
                "path": "/user/userManagement",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "用户管理",
                    "icon": "DesktopOutlined",
                    "hide": false
                }
            },
            {
                "path": "/user/roleManagement",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "角色管理",
                    "icon": "DesktopOutlined",
                    "hide": false
                }
            },
            {
                "path": "/user/organizationManagement",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "组织机构",
                    "icon": "DesktopOutlined",
                    "hide": false
                }
            },
            {
                "path": "/user/functionManagement",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "功能管理",
                    "icon": "DesktopOutlined",
                    "hide": false
                }
            },
            {
                "path": "/user/operationLog",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "操作日志",
                    "icon": "DesktopOutlined",
                    "hide": false
                }
            },
            {
                "path": "/user/loginLog",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "登录日志",
                    "icon": "DesktopOutlined",
                    "hide": false
                }
            },
            {
                "path": "/user/blacklist",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "系统黑名单",
                    "icon": "DesktopOutlined",
                    "hide": false
                }
            }
        ]
    },
    {
        "path": "/system",
        "component": null,
        "meta": {
            "title": "系统管理",
            "icon": "SettingOutlined",
            "hide": false
        },
        "children": [
            {
                "path": "/system/control",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "系统控制",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                children: [
                    {
                        "path": "/system/control/systemControl",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "系统控制",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/system/control/numberingRules",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "编号规则",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    }
                ]
            },
            {
                "path": "/system/dictionary",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "系统字典",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                children: [
                    {
                        "path": "/system/dictionary/delegateDictionary",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "委托词典",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/system/dictionary/experimentDictionary",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "实验词典",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/system/dictionary/approvalDictionary",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "审批词典",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/system/dictionary/sampleDictionary",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "样品字典",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/system/dictionary/commonDictionary",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "公共词典",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    }
                ]
            }
        ]
    },
    {
        "path": "/systemMaintenance",
        "component": null,
        "meta": {
            "title": "系统维护",
            "icon": "CpuOutlined",
            "hide": false
        },
        "children": [
            {
                "path": "/systemMaintenance/testingItems",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "检测项目树",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                children: [
                    {
                        "path": "/systemMaintenance/testingItems/projectManagement",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "项目管理",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/systemMaintenance/testingItems/productManagement",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "产品管理",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/systemMaintenance/testingItems/outsourced",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "委外项目管理",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    }
                ]

            },
            {
                "path": "/systemMaintenance/maintenanceManagement",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "维护管理",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                children: [
                    {
                        "path": "/systemMaintenance/maintenanceManagement/systemNumbering",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "系统编号",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/systemMaintenance/maintenanceManagement/testingStandard",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "检测标准",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/systemMaintenance/maintenanceManagement/stampManagement",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "图章管理",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/systemMaintenance/maintenanceManagement/backup",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "数据备份",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/systemMaintenance/maintenanceManagement/moduleManagement",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "模块管理",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    }
                ]

            },
            {
                "path": "/systemMaintenance/specialParameters",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "特殊参数",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                children: [
                    {
                        "path": "/systemMaintenance/specialParameters/conclusionEditor",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "结论编辑",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/systemMaintenance/specialParameters/parameterSetting",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "系统参数",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/systemMaintenance/specialParameters/projectParameter",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "项目参数",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/systemMaintenance/specialParameters/historyParameter",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "历史参数",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    }
                ]
            },
            {
                "path": "/systemMaintenance/reportCenter",
                "component": "/dashboard/workplace",
                "meta": {
                    "title": "报表中心",
                    "icon": "DesktopOutlined",
                    "hide": false
                },
                children: [
                    {
                        "path": "/systemMaintenance/reportCenter/reportManagement",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "报表管理",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/systemMaintenance/reportCenter/dataConfiguration",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "数据配置",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    },
                    {
                        "path": "/systemMaintenance/reportCenter/entrustedConfiguration",
                        "component": "/dashboard/workplace",
                        "meta": {
                            "title": "委托书配置",
                            "icon": "DesktopOutlined",
                            "hide": false
                        }
                    }
                ]
            }
        ]
    }
    // {
    //     "path": "/system",
    //     "component": null,
    //     "meta": {
    //         "title": "系统管理",
    //         "icon": "SettingOutlined",
    //         "hide": false,
    //         "lang": {
    //             "zh_TW": "系統管理",
    //             "en": "System"
    //         }
    //     },
    //     "redirect": "/system/user",
    //     "children": [
    //         {
    //             "path": "/system/user",
    //             "component": "/system/user",
    //             "meta": {
    //                 "title": "用户管理",
    //                 "icon": "UserOutlined",
    //                 "hide": false,
    //                 "lang": {
    //                     "zh_TW": "用戶管理",
    //                     "en": "User"
    //                 }
    //             },
    //             "children": [
    //                 {
    //                     "path": "/system/user/details/:id",
    //                     "component": "/system/user/details",
    //                     "meta": {
    //                         "title": "用户详情",
    //                         "icon": "UserOutlined",
    //                         "hide": true,
    //                         "active": "/system/user",
    //                         "lang": {
    //                             "zh_TW": "用戶詳情",
    //                             "en": "UserDetails"
    //                         }
    //                     }
    //                 }
    //             ]
    //         },
    //         {
    //             "path": "/system/role",
    //             "component": "/system/role",
    //             "meta": {
    //                 "title": "角色管理",
    //                 "icon": "IdcardOutlined",
    //                 "hide": false,
    //                 "lang": {
    //                     "zh_TW": "角色管理",
    //                     "en": "Role"
    //                 }
    //             }
    //         },
    //         {
    //             "path": "/system/menu",
    //             "component": "/system/menu",
    //             "meta": {
    //                 "title": "菜单管理",
    //                 "icon": "AppstoreOutlined",
    //                 "hide": false,
    //                 "lang": {
    //                     "zh_TW": "選單管理",
    //                     "en": "Menu"
    //                 }
    //             }
    //         },
    //         {
    //             "path": "/system/organization",
    //             "component": "/system/organization",
    //             "meta": {
    //                 "title": "机构管理",
    //                 "icon": "CityOutlined",
    //                 "hide": false,
    //                 "lang": {
    //                     "zh_TW": "機构管理",
    //                     "en": "Organization"
    //                 }
    //             }
    //         },
    //         {
    //             "path": "/system/dictionary",
    //             "component": "/system/dictionary",
    //             "meta": {
    //                 "title": "字典管理",
    //                 "icon": "BookOutlined",
    //                 "hide": false,
    //                 "hideFooter": true,
    //                 "lang": {
    //                     "zh_TW": "字典管理",
    //                     "en": "Dictionary"
    //                 }
    //             }
    //         },
    //         {
    //             "path": "/system/file",
    //             "component": "/system/file",
    //             "meta": {
    //                 "title": "文件管理",
    //                 "icon": "FolderOutlined",
    //                 "hide": false,
    //                 "lang": {
    //                     "zh_TW": "檔案管理",
    //                     "en": "File"
    //                 }
    //             }
    //         },
    //         {
    //             "path": "/system/login-record",
    //             "component": "/system/login-record",
    //             "meta": {
    //                 "title": "登录日志",
    //                 "icon": "CalendarOutlined",
    //                 "hide": false,
    //                 "lang": {
    //                     "zh_TW": "登入日誌",
    //                     "en": "LoginRecord"
    //                 }
    //             }
    //         },
    //         {
    //             "path": "/system/operation-record",
    //             "component": "/system/operation-record",
    //             "meta": {
    //                 "title": "操作日志",
    //                 "icon": "LogOutlined",
    //                 "hide": false,
    //                 "lang": {
    //                     "zh_TW": "操作日誌",
    //                     "en": "OperationRecord"
    //                 }
    //             }
    //         }
    //     ]
    // },
    // {
    //     "path": "/iframe",
    //     "component": null,
    //     "meta": {
    //         "title": "内嵌页面",
    //         "icon": "LinkOutlined",
    //         "hide": false,
    //         "lang": {
    //             "zh_TW": "內嵌頁面",
    //             "en": "IFrame"
    //         }
    //     },
    //     "redirect": "/iframe/eleadmin",
    //     "children": [
    //         {
    //             "path": "/iframe/eleadmin",
    //             "component": "https://www.eleadmin.com",
    //             "meta": {
    //                 "title": "官网",
    //                 "icon": "LinkOutlined",
    //                 "hide": false,
    //                 "lang": {
    //                     "zh_TW": "官網",
    //                     "en": "Website"
    //                 }
    //             }
    //         },
    //         {
    //             "path": "/iframe/eleadmin-doc",
    //             "component": "https://www.eleadmin.com/doc/eleadminplus/",
    //             "meta": {
    //                 "title": "文档",
    //                 "icon": "LinkOutlined",
    //                 "hide": false,
    //                 "lang": {
    //                     "zh_TW": "檔案",
    //                     "en": "Document"
    //                 }
    //             }
    //         }
    //     ]
    // },
    // {
    //     "path": "https://eleadmin.com/goods/11",
    //     "component": null,
    //     "meta": {
    //         "title": "获取授权",
    //         "icon": "ProtectOutlined",
    //         "hide": false,
    //         "lang": {
    //             "zh_TW": "獲取授權",
    //             "en": "Authorization"
    //         }
    //     }
    // }
]
export default menu